<!DOCTYPE html>
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta charset="UTF-8" />
<title>Pto mask - PanoTools.org Wiki</title>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="generator" content="MediaWiki 1.23.6" />






<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>

<style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
/* cache key: panotools_wiki:resourceloader:filter:minify-css:7:90730a7865ba4b50e0b837e1821ff0a3 */</style>



<!--[if lt IE 7]><style type="text/css">body{behavior:url("/skins/vector/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Pto_mask skin-vector action-view vector-animateLayout">
		
		
		<div id="content" class="mw-body" role="main">
			<a id="top"></a>
			
						<h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">Pto mask</span></h1>
						<div id="bodyContent">
								<div id="siteSub">From PanoTools.org Wiki</div>
								
												
				<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p><b>Pto_mask</b> can add mask to <a href="Hugin.html" title="Hugin">Hugin</a> .pto project files. 
</p><p>The general use is:
</p>
<pre>   pto_mask [switches] --mask=mask.msk@imgNr input.pto
</pre>
<p><b>--mask=mask.msk@imgNr</b> Load the mask from the file named mask.msk and apply it to the image with the number imgNr. The mask file can be generated from the <a href="Hugin_Mask_tab.html" title="Hugin Mask tab">mask tab</a> - <b>Save mask</b>. This switch can be specified several times to add several mask at once.
</p>
<h2><span class="mw-headline" id="Switches">Switches</span></h2>
<ul>
<li> <b>-o|--output output.pto</b> Output a pto file with the given filename. If not given it will append "_mask" to the input filename.
</li>
<li> <b>--rotate=CLOCKWISE|90|COUNTERCLOCKWISE|-90</b> Rotates the mask 90° clockwise or counter-clockwise before apply the mask to the image.
</li>
<li> <b>--process=CLIP|SCALE|PROP_SCALE</b> Processing options, if the mask size does not correspond to the image size
<ul>
<li> <b>CLIP</b> Does clip the mask at the image borders.
</li>
<li> <b>SCALE</b> Scale the mask independently at x and y scale to fit inside the image. 
</li>
<li> <b>PROP_SCALE</b> Scale the mask proportional to fit inside the image.
</li>
</ul>
</li>
<li> <b>-h | --help</b> Display help.
</li>
</ul>




</div>								<div class="printfooter">
				Retrieved from "http://wiki.panotools.org/index.php?title=Pto_mask&amp;oldid=15427<a class="external" href="http://wiki.panotools.org/index.php?title=Pto_mask&amp;oldid=15427">[*]</a>"				</div>
												</div></div></body></html>